package com.dl.study.config.redis;

/**
 * @Author: user
 * @Date: 2021/10/22 15:10
 * @Description:
 */
public interface RedisConstant {
    /**
     * 盐值
     */
    String LOGIN_SALT = "study_dl";
    /**
     * request 请求头属性
     */
    String REQUEST_AUTH_HEADER = "Authorization";
    /**
     * JWT-account
     */
    String ACCOUNT = "account";

    /**
     * shiro redis前缀
     */
    String PREFIX_SHIRO_CACHE = "shiro:cache:";

    /**
     * redis-key-前缀-shiro:refresh_token
     */
    String PREFIX_SHIRO_REFRESH_TOKEN = "shiro:refresh_token:";

    /**
     * JWT-currentTimeMillis
     */
    String CURRENT_TIME_MILLIS = "currentTimeMillis";


    String REQUEST_TOKEN_HEADER = "x-access-token";


}
